package com.iking.toolkit.system.model.http;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 菜单顺序请求类
 * @author wk
 * @date 7/2/2020 上午9:07
 */
public class HttpMenuChangeSortReq{

    @Schema(description = "调换的菜单id")
    private String beforeId;

    @Schema(description = "调换的菜单序号")
    private Integer beforeSort;

    @Schema(description = "调换后的菜单id")
    private String afterId;

    @Schema(description = "调换后的序号")
    private Integer afterSort;

    public String getBeforeId() {
        return beforeId;
    }

    public void setBeforeId(String beforeId) {
        this.beforeId = beforeId;
    }

    public Integer getBeforeSort() {
        return beforeSort;
    }

    public void setBeforeSort(Integer beforeSort) {
        this.beforeSort = beforeSort;
    }

    public String getAfterId() {
        return afterId;
    }

    public void setAfterId(String afterId) {
        this.afterId = afterId;
    }

    public Integer getAfterSort() {
        return afterSort;
    }

    public void setAfterSort(Integer afterSort) {
        this.afterSort = afterSort;
    }

    @Override
    public String toString() {
        return "HttpMenuChangeSortReq" + "[" +
                "beforeId=" + beforeId +
                ", beforeSort=" + beforeSort +
                ", afterId=" + afterId +
                ", afterSort=" + afterSort +
                "]";
    }
}
